import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
	  role:0
  },
  getters: {
  },
  mutations: {
	  SET_ROLE(state,role){
		  state.role = role
		  localStorage.setItem('role',role)
	  },
  },
  actions: {
  },
  modules: {
  }
})
